package threadPr;
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Administrator
 */
public class TH1Test {
public static void main(String args[])
{


    Thread t1=new Thread(new TH1(),"   Thread 1");
    Thread t2=new Thread(new TH1(),"   Thread 2");
    Thread t3=new Thread(new TH1(),"   Thread 3");

    t1.setPriority(Thread.MIN_PRIORITY);
    t2.setPriority(Thread.NORM_PRIORITY);
    t3.setPriority(Thread.MAX_PRIORITY);


    
    t1.start();
    t2.start();
    t3.start();
    System.out.println("Thread Execution Finished");
}
}
